package com.jun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jun.mapper.SysAdminMapper;
import com.jun.pojo.admin.SysAdmin;
import com.jun.service.SysAdminService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class SysAdminServiceImpl extends ServiceImpl<SysAdminMapper, SysAdmin>
    implements SysAdminService{

    @Autowired
    private SysAdminMapper sysAdminMapper;

    @Override
    public SysAdmin selectByAdminName(SysAdmin sysAdmin) {
        return sysAdminMapper.selectByAdminName(sysAdmin);
    }
}
